package controller

import (
	"github.com/gin-gonic/gin"
	"src/services"
)

func User(u **gin.Engine) {
	g := (*u).Group("/user")
	// 用户注册
	g.POST("/login", services.Login)
	// 查询用户信息
	g.GET("/get", services.GetUser)
}
